/*
 * @Author: yuanxiaohu
 * @Date: 2025-06-13 18:18:42
 * @LastEditors: yuanxiaohu
 * @LastEditTime: 2025-06-19 21:33:10
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \wine-trend-hui-18\cloudfunctions\getFootMark\index.js
 */
const cloud = require('wx-server-sdk');
cloud.init({
    env: cloud.DYNAMIC_CURRENT_ENV
});
const getFootMarkList = require("./getFootMarkList/index");
const checkExistAndUpdate = require("./checkExistAndUpdate/index");

// 云函数入口函数
exports.main = async (event, context) => {
    switch (event.type) {
        case "getFootMarkList":
            return await getFootMarkList.main(event, context);
        case "checkExistAndUpdate":
            return await checkExistAndUpdate.main(event, context);
    }
};